package dmir.wikipedia.addons;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * 
 * 
 * @author ivo
 *
 */
public class PortugueseWikiPopulationUtil extends EnglishWikiPopulationUtil {
    
    private static final Pattern ptPopPattern = Pattern.compile(
            "\\|\\s*(\\d\\d\\d\\dpop|pop\\d\\d\\d\\dcensus|population_total|pop|population_estimate|population_census|population|população|populacao|população_census)\\s*=\\s*([\\d,]+)", 
            Pattern.CASE_INSENSITIVE);

    protected PortugueseWikiPopulationUtil() { super.popPattern = ptPopPattern; }

    public static final PortugueseWikiPopulationUtil INSTANCE = new PortugueseWikiPopulationUtil();

}
